Skip to content

Grafana PR deployment annotation#3

Closed
rossme wants to merge 2 commits intomainfrom
cursor/grafana-pr-deployment-annotation-8767
Closed

Grafana PR deployment annotation#3
rossme wants to merge 2 commits intomainfrom
cursor/grafana-pr-deployment-annotation-8767

Conversation

@rossme
Copy link
Copy Markdown
Owner

@rossme rossme commented Jan 18, 2026

Add Grafana annotation for PR deployments to visualize deployment times per branch.


Open in Cursor Open in Web


Note

Introduces PR-aware deployment annotations in generated Grafana dashboards.

  • Adds PR Deployments annotation built from branch name or override via DIFFDASH_PR_DEPLOY_ANNOTATION_EXPR
  • Refactors annotations: build_annotations(signal_bundle) now includes both Deployments and optional PR-scoped annotation; extracts helpers deployment_annotation, pr_deployment_annotation, pr_deployment_expr, and escape_promql_label
  • Updates CLI help and README to document DIFFDASH_PR_DEPLOY_ANNOTATION_EXPR
  • Adjusts tests and golden fixture to validate the new annotation and expression

Written by Cursor Bugbot for commit 041a198. This will update automatically on new commits. Configure here.

cursoragent and others added 2 commits January 18, 2026 10:10
Co-authored-by: r.buddie <r.buddie@gmail.com>
Co-authored-by: r.buddie <r.buddie@gmail.com>
@cursor
Copy link
Copy Markdown

cursor bot commented Jan 18, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@rossme rossme marked this pull request as ready for review January 18, 2026 10:37
@rossme rossme closed this Jan 18, 2026
@rossme rossme deleted the cursor/grafana-pr-deployment-annotation-8767 branch January 18, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants